package cn.itcast.nems.product.dto;

import lombok.Data;

import java.util.HashSet;
import java.util.Set;

/**
 * @author liyong
 * create: 2023-10-20 15:55:02
 **/
@Data
public class ClassTypeCampusDTO {
    private String classTypeId;
    private Set<String> campusIds;

    public void addCampusIds(Set<String> campusIds) {
        Set<String> ids = new HashSet<>(this.campusIds);
        ids.addAll(campusIds);
        this.campusIds = ids;
    }
}
